package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.User;
import com.itheima.pojo.UserQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    Page<User> inquire(UserQueryParam userQueryParam);

    void deleteUser(List<Integer> ids);

    void addUser(User user);

    User retUser(Integer id);

    void updateUser(User user);
}
